﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CKS2320.Common.Model
{
    /// <summary>
    /// 拱曲度检测台
    /// </summary>
    public class ShapeModel
    {
        #region Send
        /// <summary>
        /// 工位
        /// </summary>
        public string? StationCode { get; set; }
        /// <summary>
        /// 开始下载信号-心跳
        /// </summary>
        public bool? Heart1 { get; set; }
        /// <summary>
        /// 开始下载信号
        /// </summary>
        public bool? StartUpLoad { get; set; }
        /// <summary>
        /// 工件编号
        /// </summary>
        public string? PartCode { get; set; }
        /// <summary>
        /// 工件编号触发
        /// </summary>
        public bool? PartCodeTrigger { get; set; }
        /// <summary>
        /// 结果
        /// </summary>
        public bool? Result { get; set; }
        #endregion

        #region From
        /// <summary>
        /// 已结束下载信号-心跳
        /// </summary>
        public bool? Heart2 { get; set; }
        /// <summary>
        /// 已结束下载信号
        /// </summary>
        public bool? EndUpLoad { get; set; }
        /// <summary>
        /// 工件编号结果 0初始化 1继续执行 2不执行
        /// </summary>
        public int? PartCodeResult { get; set; }
        #endregion

        /// <summary>
        /// 工件类型 A/B
        /// </summary>
        public string? RunType { get; set; }
        /// <summary>
        /// 检测数据
        /// </summary>
        public List<DetectionDetail> detaillist { get; set; } = new List<DetectionDetail>();
    }
}
